package com.Ajava1801D.枚举;

import java.io.*;
import java.lang.reflect.InvocationTargetException;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2020/10/6  10:13
 * 描述:
 */
public class TestMeiJu {

    public static void main(String[] args) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException, IOException, ClassNotFoundException {

        //TestLanHan testLanHan=TestLanHan.getInstace();

        /*Constructor<TestLanHan> declaredConstructor = TestLanHan.class.getDeclaredConstructor();
        declaredConstructor.setAccessible(true);
        TestLanHan testLanHan1 = declaredConstructor.newInstance();

        System.out.println(testLanHan==testLanHan1);*/

        /*ByteArrayOutputStream byteArrayOutputStream=new ByteArrayOutputStream();
        ObjectOutputStream objectOutputStream=new ObjectOutputStream(byteArrayOutputStream);

        objectOutputStream.writeObject(testLanHan);

        ByteArrayInputStream byteArrayInputStream=new ByteArrayInputStream(byteArrayOutputStream.toByteArray());
        ObjectInputStream objectInputStream=new ObjectInputStream(byteArrayInputStream);

        TestLanHan testLanHan1 = (TestLanHan) objectInputStream.readObject();

        System.out.println(testLanHan1==testLanHan);*/


        //MeiJu1 meiJu1=MeiJu1.getInstance();

        /*Constructor<MeiJu1> declaredConstructor = MeiJu1.class.getDeclaredConstructor();
        declaredConstructor.setAccessible(true);
        MeiJu1 testLanHan1 = declaredConstructor.newInstance();*/

       /* ByteArrayOutputStream byteArrayOutputStream=new ByteArrayOutputStream();
        ObjectOutputStream objectOutputStream=new ObjectOutputStream(byteArrayOutputStream);

        objectOutputStream.writeObject(meiJu1);

        ByteArrayInputStream byteArrayInputStream=new ByteArrayInputStream(byteArrayOutputStream.toByteArray());
        ObjectInputStream objectInputStream=new ObjectInputStream(byteArrayInputStream);

        MeiJu1 testLanHan1 = (MeiJu1) objectInputStream.readObject();
        System.out.println(testLanHan1==meiJu1);*/



    }

}
